pp108 : Setting Access Control on XML Store Definition

Setting Access Control on XML Store Definition

This topic describes the procedure to set access control on the XML Store Definition.

Before you begin this task:

  • You must have created an XML Store Definition.
  • You must have created roles and published them to the organization.


While building an application, you may grant certain roles complete access or partial access to the XML Store Definition. You may even decide to completely deny access to a particular XML Store Definition.
The Security feature helps you set access control on an XML Store Definition and its contents. There are four levels at which you can set the control - Read, Insert, Update, and Delete. The extent to which a user (bearing that role) is able to work with an XML Store Definition depends upon the level at which access control is set. For instance, only Read access will let the user retrieve data from a XML Store but will not allow writing data into it. On the other hand, a Delete access will let the user view it, modify the definition, and also delete content.

  1. In Workspace Documents (Explorer), open <solution> > <project>, right-click (XML Store Definition) and select Define Runtime Security. The Security Descriptor window appears, displaying the name of the XML Store Definition on its titlebar.
  2. In the Identities pane, click . The Select Role dialog box appears, displaying the roles that you created.
  3. Select the role for which you want to set access control. The selected role appears in the Identities pane.
  4. Select the role and in the ACL pane, select the Grant Permission checkbox against Read, or Update, or Insert, or Delete.
  5. Click .
    You have successfully set access control on the XML Store Definition and associated it with a specific role.

    After you complete this task:
    To know how to view the access controls set for a particular role/user, see topic Viewing Access Permissions Granted for a Role.

Related tasks

Creating an XML Store Definition
Creating an XML